package writeor.aidraw.service;

import com.github.pagehelper.PageInfo;
import writeor.aidraw.model.User;

import java.util.List;


/**
 * 用户Service层接口
 */
public interface UserService {
	// 通过账号和密码查询用户
	public User findUser(String username, String password);

	public List getUserlist();

	public int createUser(User user);

	//public  int createUser(User user);



	public PageInfo<User> FindUsersByName(Integer page, Integer count, String users_name);
	public PageInfo<User> FindUserListForPage(Integer page, Integer count);//带分页
	//删除商品分类信息
	public int deleteUser_108(Integer user_id);

	//更新商品分类
	public int updateUser108(User user);



	public int createUser108(User user);

	//public  int createUser(User user);


	



	
}
